from pymongo import MongoClient

client = MongoClient()

db = client.database_test

col1 = db.student

result = col1.insert_many([{'name':'lisi','age':21},
                            {'name':'wangwu','age':22}])
print(result)